package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "角色已分配用户查询搜索条件")
public class RoleExistUserPageDTO implements Serializable {

	@ApiModelProperty(value="用户姓名")
	private String username;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value="用户账号")
	private String phone;

	@ApiModelProperty(value="角色id")
	@NotNull(message = "角色id不能为空!")
	private Long roleId;

	@ApiModelProperty(value="租户id",hidden=true)
	private Long tenantId;

	@ApiModelProperty(value="是否有全部用户权限",hidden=true)
	private Boolean userAll;

	@ApiModelProperty(value="用户id集合",hidden=true)
	private List<Long> userList;

}
